package com.emagic.manage.modules.room.view;

import java.util.List;

/**
 * Created by Administrator on 2017/3/20.
 */
public interface IClassRoomManagerCbk {

    void roomManagerRoomJoined();

    void roomManagerDidFinish();

    void roomManagerDidFailWithError(int error);

    void roomManagerUserJoined(ClassRoomUser peer, boolean inList);

    void roomManagerUserLeft(ClassRoomUser peer);

    void roomManagerUserChanged(ClassRoomUser peer);

    Object roomManagerUserVideoPublished(String peerId);

    void roomManagerUserVideoUnPublished(String peerId);

    void roomManagerIceStatusChanged(String peerId, String state);

    void roomManagerMessageReceived(String peerId, String message);

    void roomManagerOnRemoteMsg(boolean add, String id, String name, String fromWhom, long ts, Object data);

    void roomGiftInfo(String num);

    void roomFileInfo(List<RoomFile> list);

    void participantEvicted(ClassRoomUser myself);
}
